import sys
sys.path.insert(0, 'third_party')
sys.path.insert(0, '.')
from config import *
from common import web_server
from controller import Controller
controller = Controller()
web_server.set_root('controller/static')
web_server.listen(CONTROLLER_HTTP_PORT)
web_server.register(controller)
web_server.run()
